package sebastiankerckhof.render.raytrace;

import sebastiankerckhof.math.Point3f;
import sebastiankerckhof.math.Vector3f;

public class Ray {
	public Vector3f direction;
	public Point3f origin;
	public boolean shadow = false;
	
	public Ray(){}
	public Ray(boolean shadow){this.shadow = shadow;}
	public Ray(Point3f ori, Vector3f dir, boolean shadow){
		this.direction = dir;
		this.origin = ori;
		this.shadow = shadow;
	}
	
	public Ray(Point3f ori, Vector3f dir){
		this(ori,dir,false);
	}
	
	public String toString(){
		return "Origin: "+ origin.toString() +
		"Direction: " + direction.toString();
	}
}
